import Vue from "vue";
import ElementUI from "element-ui";
import 'element-ui/lib/theme-chalk/index.css'
import _ from "lodash";
import axios from "./util/http";
import "@/style/app.scss";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./registerServiceWorker";

const moment = require("moment");
require("moment/locale/zh-cn");

Vue.config.productionTip = false;
Vue.use(require("vue-moment"), {moment});
Vue.use(ElementUI);

Vue.prototype.$http = axios;
Vue.prototype._ = _;

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app");
